package com.mao.service.organization;

import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.mao.model.organization.OrganizationClass;

@Transactional(rollbackFor=Exception.class,propagation=Propagation.REQUIRED)
public interface IOrganizationClassService<T>{
	public List<OrganizationClass> getAllOrganizationClass(Long storeid);

	public OrganizationClass saveOrganizationClass(OrganizationClass pc);

	public OrganizationClass updateOrganizationClass(OrganizationClass pc);

	public OrganizationClass getOrganizationClassById(long id);
	
	public String valDelOrgClass(long id);
	
	// 获取所有class包括已删除的
	public List<OrganizationClass> getAllOrganizationClass();
}
